<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">-->
<!--        </div>-->
<!--    </div>-->
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">-->
<!--        </div>-->
<!--    </div>-->
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Mobile')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-mobile" data-rule="required" class="form-control" name="row[mobile]" type="text" value="{$row.mobile|htmlentities}">-->
<!--        </div>-->
<!--    </div>-->
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Venue')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-venue" data-rule="required" class="form-control" name="row[venue]" type="text" value="{$row.venue|htmlentities}">-->
<!--        </div>-->
<!--    </div>-->
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Company')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-company" data-rule="required" class="form-control" name="row[company]" type="text" value="{$row.company|htmlentities}">-->
<!--        </div>-->
<!--    </div>-->
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Department')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-department" data-rule="required" class="form-control" name="row[department]" type="text" value="{$row.department|htmlentities}">-->
<!--        </div>-->
<!--    </div>-->
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Position_type')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-position_type" data-rule="required" class="form-control" name="row[position_type]" type="text" value="{$row.position_type|htmlentities}">-->
<!--        </div>-->
<!--    </div>-->
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Views')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-views" data-rule="required" class="form-control" name="row[views]" type="number" value="{$row.views|htmlentities}">-->
<!--        </div>-->
<!--    </div>-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Actual_views')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-actual_views" data-rule="required" class="form-control" name="row[actual_views]" type="number" value="{$row.actual_views|htmlentities}">
        </div>
    </div>
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('是否需要讲解')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            {:build_radios('row[explain]', ['1'=>__('需要'), '0'=>__('不需要')], $row['explain']);}-->
<!--        </div>-->
<!--    </div>-->
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Day')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-day" data-rule="required" class="form-control" name="row[day]" type="text" value="{$row.day|htmlentities}">-->
<!--        </div>-->
<!--    </div>-->
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Between_time')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <select name="row[between_time]">-->
<!--                {foreach $vistime as $k=>$val}-->
<!--                {if condition="$k eq $row.between_time"}-->
<!--                      <option value="{$k}" selected>{$val}</option>-->
<!--                    {else/}-->
<!--                      <option value="{$k}" >{$val}</option>-->
<!--                {/if}-->

<!--                {/foreach}-->
<!--            </select>-->
<!--        </div>-->
<!--    </div>-->
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Between_day')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-between_day" data-rule="required" class="form-control" name="row[between_day]" type="text" value="{$row.between_day|htmlentities}">-->
<!--        </div>-->
<!--    </div>-->
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Note')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-note" data-rule="required" class="form-control" name="row[note]" type="text" value="{$row.note|htmlentities}">-->
<!--        </div>-->
<!--    </div>-->
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Reason')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-reason" data-rule="required" class="form-control" name="row[reason]" type="text" value="{$row.reason|htmlentities}">-->
<!--        </div>-->
<!--    </div>-->
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('完成预约')}:</label>
            <div class="col-xs-12 col-sm-8">
                      {:build_radios('row[status]', ['2'=>__('完成预约')], $row['status']);}
            </div>
        </div>
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Add_time')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-add_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[add_time]" type="text" value="{:$row.add_time?datetime($row.add_time):''}">-->
<!--        </div>-->
<!--    </div>-->
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
